import request from '@/request/index.js';

/**
 * 查询列表
 */
export const punishmentrecordsList = (params) => {
	return request.get({
		url: '/extBiz/punishmentrecords/list',
		data: params,
	});
};
/**
 * 详情
 */
export const punishmentrecordsGetInfo = (params) => {
	return request.get({
		url: '/extBiz/punishmentrecords/getInfo',
		data: params,
	});
};
/**
 * 添加
 */
export const punishmentrecordsAdd = (params) => {
	return request.post({
		url: '/extBiz/punishmentrecords/add',
		data: params,
	});
};
/**
 * 修改
 */
export const punishmentrecordsEdit = (params) => {
	return request.post({
		url: '/extBiz/punishmentrecords/edit',
		data: params,
	});
};
/**
 * 删除
 */
export const punishmentrecordsRemove = (params) => {
	return request.post({
		url: '/extBiz/punishmentrecords/remove',
		data: params,
	});
};
/**
 * 
 * 获取用户
*/ 
export const listUser = (params) => {
	return request.get({
		url: '/sysUser/listUser',
		data: params,
	});
};